Skip to content

Fix bug when reading linux defaults#2259

Merged
mjcheetham merged 1 commit intogit-ecosystem:mainfrom
mjcheetham:linux-defaults-fix
Feb 4, 2026
Merged

Fix bug when reading linux defaults#2259
mjcheetham merged 1 commit intogit-ecosystem:mainfrom
mjcheetham:linux-defaults-fix

Conversation

@mjcheetham
Copy link
Copy Markdown
Contributor

If there is no GCM configuration defaults directory on Linux, we had been inadvertently returning null for the setting value!

Fix the issue by explictly returning false (no setting found) to TryGetExternalDefault rather than true (setting found).

If there is no GCM configuration defaults directory on Linux, we had
been inadvertently returning `null` for the setting value!

Fix the issue by explictly returning `false` (no setting found) to
`TryGetExternalDefault` rather than `true` (setting found).

Signed-off-by: Matthew John Cheetham <mjcheetham@outlook.com>
@mjcheetham mjcheetham requested a review from a team as a code owner February 3, 2026 15:55
@mjcheetham mjcheetham added the platform:linux Specific to a Linux-based platform label Feb 3, 2026
@mjcheetham mjcheetham enabled auto-merge February 3, 2026 16:00
@mjcheetham mjcheetham requested a review from dscho February 3, 2026 17:01
@mjcheetham mjcheetham merged commit 5c08354 into git-ecosystem:main Feb 4, 2026
10 checks passed
@mjcheetham mjcheetham deleted the linux-defaults-fix branch February 4, 2026 08:41
@mjcheetham mjcheetham mentioned this pull request Feb 4, 2026
mjcheetham added a commit that referenced this pull request Feb 4, 2026
**Changes:**

- Release pipeline fixes (#2239, #2241, #2248)
- Linux enterprise defaults (#1814, #2259)

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform:linux Specific to a Linux-based platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants